Skip to main content

AddText

Description

This method adds the TEXT entity.

ParameterTypeDescription
DataTdxfExportDataIt contains the fields: Text – text string; Point – coordinates of base point; FHeight – font height; Rotation – rotation angle in degrees; HAlign – horizontal text justification type. VAlign – vertical text justification type.
HAlign valueDescription
0Left
1Center
2Right
3Aligned (if vertical alignment = 0)
4Middle (if vertical alignment = 0)
5Fit (if vertical alignment = 0)
VAlign valueDescription
0Baseline
1Bottom
2Middle
3Top

Syntax

procedure AddText(const Data: TdxfExportData);